package com.SmartCare.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 活动情况表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ActivityRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运动记录的唯一标识
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 老人编号
     */
    private Long elderlyId;


    /**
     * 护工编号
     */
    private Long nurseId;

    /**
     * 运动类型
     */
    private String activityType;

    /**
     * 运动时长
     */
    private Float duration;
    /**
     * 图片地址
     */
    private String pictureUrl;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;

}
